import request from '@/utils/request'

// 查询验证码下发日志列表
export function listSendlog(query) {
  return request({
    url: '/monitor/sendlog/list',
    method: 'get',
    params: query,
  })
}

// 查询验证码下发日志详细
export function getSendlog(id) {
  return request({
    url: '/monitor/sendlog/' + id,
    method: 'get',
  })
}

// 删除验证码下发日志
export function delSendlog(id) {
  return request({
    url: '/monitor/sendlog/' + id,
    method: 'delete',
  })
}

// 导出验证码下发日志
export function exportSendlog(query) {
  return request({
    url: '/monitor/sendlog/export',
    method: 'get',
    params: query,
  })
}
